import { request } from '@/utils/request.js'

/**
 * 工单记录 API JS
 */

export default {

  /**
   * 获取工单记录分页列表
   * @returns
   */
  getList (params = {}) {
    return request({
      url: 'logistics/workOrderLog/index',
      method: 'get',
      params
    })
  },
  getAllList (params = {}) {
    return request({
      url: 'logistics/workOrderLog/list',
      method: 'get',
      params
    })
  },

  /**
   * 添加
   * @returns
   */
    save (data = {}) {
      return request({
        url: 'logistics/workOrderLog/save',
        method: 'post',
        data
      })
    },
    
}